home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / texinf31.zoo / texinfo-3.1 / util / Makefile < prev    next >
Encoding:
Makefile  |  1993-05-31  |  2.5 KB  |  97 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU Texindex.
  3. # Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. #### Start of system configuration section. ####
  20.  
  21. srcdir = .
  22. VPATH  = .
  23.  
  24. common = $(srcdir)/../libtxi
  25.  
  26. CC = gcc -traditional
  27. INSTALL = /dev/u/gnu/bin/install -c
  28. INSTALL_PROGRAM = $(INSTALL) -m 755
  29. INSTALL_DATA = $(INSTALL) -m 644
  30.  
  31. LN    = ln
  32. RM    = rm -f
  33. TAR    = tar
  34. MKDIR    = mkdir
  35.  
  36. DEFS = -D_POSIX_SOURCE=1 -D_POSIX_1_SOURCE=2 -D_MINIX=1 -Dconst= -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_BZERO=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DSTACK_DIRECTION=0 -DHAVE_STRERROR
  37. LIBS = -L../libtxi/ -llibtxi.a
  38. LOADLIBES = $(LIBS)
  39.  
  40. SHELL = /dev/u/bin/sh
  41.  
  42. CFLAGS = -O2
  43. LDFLAGS =
  44.  
  45. prefix = /dev/u/gnu
  46. exec_prefix = ${prefix}
  47. bindir = $(exec_prefix)/bin
  48. # Prefix for each installed program, normally empty or `g'.
  49. binprefix = 
  50. libdir = $(prefix)/lib
  51. # Prefix for each installed man page, normally empty or `g'.
  52. manprefix = 
  53. mandir = $(prefix)/man/man1
  54. manext = 1
  55. infodir = $(prefix)/info
  56.  
  57. #### End of system configuration section. ####
  58.  
  59. all: texindex
  60. sub-all: all
  61.  
  62. .c.o:
  63.     $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) -I$(common) $(CFLAGS) $<
  64.  
  65.  
  66. install: all
  67.     $(INSTALL_PROGRAM) texindex $(bindir)/texindex
  68.     $(INSTALL_PROGRAM) $(srcdir)/texi2dvi $(bindir)/texi2dvi
  69.  
  70. uninstall:
  71.     rm -f $(bindir)/texindex $(bindir)/texi2dvi
  72.  
  73. Makefile: Makefile.in ../config.status
  74.     cd ..; sh config.status
  75.  
  76. TAGS:
  77.     etags *.c *.h $(common)/getopt*.c $(common)/getopt.h
  78.  
  79. clean:
  80.     rm -f *.o a.out core core.* texindex
  81.  
  82. mostlyclean: clean
  83.  
  84. distclean: clean
  85.     rm -f Makefile config.status
  86.  
  87. realclean: distclean
  88.     rm -f TAGS
  89.  
  90. texindex: texindex.o ../libtxi/libtxi.a
  91.     $(CC) $(LDFLAGS) -o texindex texindex.o $(LOADLIBES)
  92.  
  93. texindex.o: texindex.c $(common)/getopt.h
  94.  
  95. # Prevent GNU make v3 from overflowing arg limit on SysV.
  96. .NOEXPORT:
  97.